﻿using System;
using System.Diagnostics;
using System.IO;
using Google.ProtocolBuffers;
using Google.ProtocolBuffers.Descriptors;
using Google.ProtocolBuffers.FieldAccess;

namespace com.gexin.rp.sdk.dto
{
	// Token: 0x02000020 RID: 32
	[DebuggerNonUserCode]
	public sealed class AppStartUp : GeneratedMessage<AppStartUp, AppStartUp.Builder>
	{
		// Token: 0x060003F5 RID: 1013 RVA: 0x00008D03 File Offset: 0x00006F03
		private AppStartUp()
		{
		}

		// Token: 0x170001F4 RID: 500
		// (get) Token: 0x060003F6 RID: 1014 RVA: 0x00008D33 File Offset: 0x00006F33
		public static AppStartUp DefaultInstance
		{
			get
			{
				return AppStartUp.defaultInstance;
			}
		}

		// Token: 0x170001F5 RID: 501
		// (get) Token: 0x060003F7 RID: 1015 RVA: 0x00008D3A File Offset: 0x00006F3A
		public override AppStartUp DefaultInstanceForType
		{
			get
			{
				return AppStartUp.DefaultInstance;
			}
		}

		// Token: 0x170001F6 RID: 502
		// (get) Token: 0x060003F8 RID: 1016 RVA: 0x00002579 File Offset: 0x00000779
		protected override AppStartUp ThisMessage
		{
			get
			{
				return this;
			}
		}

		// Token: 0x170001F7 RID: 503
		// (get) Token: 0x060003F9 RID: 1017 RVA: 0x00008D41 File Offset: 0x00006F41
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GtReq.internal__static_com_gexin_rp_sdk_dto_AppStartUp__Descriptor;
			}
		}

		// Token: 0x170001F8 RID: 504
		// (get) Token: 0x060003FA RID: 1018 RVA: 0x00008D48 File Offset: 0x00006F48
		protected override FieldAccessorTable<AppStartUp, AppStartUp.Builder> InternalFieldAccessors
		{
			get
			{
				return GtReq.internal__static_com_gexin_rp_sdk_dto_AppStartUp__FieldAccessorTable;
			}
		}

		// Token: 0x170001F9 RID: 505
		// (get) Token: 0x060003FB RID: 1019 RVA: 0x00008D4F File Offset: 0x00006F4F
		public bool HasAndroid
		{
			get
			{
				return this.hasAndroid;
			}
		}

		// Token: 0x170001FA RID: 506
		// (get) Token: 0x060003FC RID: 1020 RVA: 0x00008D57 File Offset: 0x00006F57
		public string Android
		{
			get
			{
				return this.android_;
			}
		}

		// Token: 0x170001FB RID: 507
		// (get) Token: 0x060003FD RID: 1021 RVA: 0x00008D5F File Offset: 0x00006F5F
		public bool HasSymbia
		{
			get
			{
				return this.hasSymbia;
			}
		}

		// Token: 0x170001FC RID: 508
		// (get) Token: 0x060003FE RID: 1022 RVA: 0x00008D67 File Offset: 0x00006F67
		public string Symbia
		{
			get
			{
				return this.symbia_;
			}
		}

		// Token: 0x170001FD RID: 509
		// (get) Token: 0x060003FF RID: 1023 RVA: 0x00008D6F File Offset: 0x00006F6F
		public bool HasIos
		{
			get
			{
				return this.hasIos;
			}
		}

		// Token: 0x170001FE RID: 510
		// (get) Token: 0x06000400 RID: 1024 RVA: 0x00008D77 File Offset: 0x00006F77
		public string Ios
		{
			get
			{
				return this.ios_;
			}
		}

		// Token: 0x170001FF RID: 511
		// (get) Token: 0x06000401 RID: 1025 RVA: 0x00008D7F File Offset: 0x00006F7F
		public override bool IsInitialized
		{
			get
			{
				return true;
			}
		}

		// Token: 0x06000402 RID: 1026 RVA: 0x00008D84 File Offset: 0x00006F84
		public override void WriteTo(ICodedOutputStream output)
		{
			this.CalcSerializedSize();
			string[] appStartUpFieldNames = AppStartUp._appStartUpFieldNames;
			if (this.hasAndroid)
			{
				output.WriteString(1, appStartUpFieldNames[0], this.Android);
			}
			if (this.hasSymbia)
			{
				output.WriteString(2, appStartUpFieldNames[2], this.Symbia);
			}
			if (this.hasIos)
			{
				output.WriteString(3, appStartUpFieldNames[1], this.Ios);
			}
			this.UnknownFields.WriteTo(output);
		}

		// Token: 0x17000200 RID: 512
		// (get) Token: 0x06000403 RID: 1027 RVA: 0x00008DF4 File Offset: 0x00006FF4
		public override int SerializedSize
		{
			get
			{
				int num = this.memoizedSerializedSize;
				if (num != -1)
				{
					return num;
				}
				return this.CalcSerializedSize();
			}
		}

		// Token: 0x06000404 RID: 1028 RVA: 0x00008E14 File Offset: 0x00007014
		private int CalcSerializedSize()
		{
			int num = this.memoizedSerializedSize;
			if (num != -1)
			{
				return num;
			}
			num = 0;
			if (this.hasAndroid)
			{
				num += CodedOutputStream.ComputeStringSize(1, this.Android);
			}
			if (this.hasSymbia)
			{
				num += CodedOutputStream.ComputeStringSize(2, this.Symbia);
			}
			if (this.hasIos)
			{
				num += CodedOutputStream.ComputeStringSize(3, this.Ios);
			}
			num += this.UnknownFields.SerializedSize;
			this.memoizedSerializedSize = num;
			return num;
		}

		// Token: 0x06000405 RID: 1029 RVA: 0x00008E8B File Offset: 0x0000708B
		public static AppStartUp ParseFrom(ByteString data)
		{
			return AppStartUp.CreateBuilder().MergeFrom(data).BuildParsed();
		}

		// Token: 0x06000406 RID: 1030 RVA: 0x00008E9D File Offset: 0x0000709D
		public static AppStartUp ParseFrom(ByteString data, ExtensionRegistry extensionRegistry)
		{
			return AppStartUp.CreateBuilder().MergeFrom(data, extensionRegistry).BuildParsed();
		}

		// Token: 0x06000407 RID: 1031 RVA: 0x00008EB0 File Offset: 0x000070B0
		public static AppStartUp ParseFrom(byte[] data)
		{
			return AppStartUp.CreateBuilder().MergeFrom(data).BuildParsed();
		}

		// Token: 0x06000408 RID: 1032 RVA: 0x00008EC2 File Offset: 0x000070C2
		public static AppStartUp ParseFrom(byte[] data, ExtensionRegistry extensionRegistry)
		{
			return AppStartUp.CreateBuilder().MergeFrom(data, extensionRegistry).BuildParsed();
		}

		// Token: 0x06000409 RID: 1033 RVA: 0x00008ED5 File Offset: 0x000070D5
		public static AppStartUp ParseFrom(Stream input)
		{
			return AppStartUp.CreateBuilder().MergeFrom(input).BuildParsed();
		}

		// Token: 0x0600040A RID: 1034 RVA: 0x00008EE7 File Offset: 0x000070E7
		public static AppStartUp ParseFrom(Stream input, ExtensionRegistry extensionRegistry)
		{
			return AppStartUp.CreateBuilder().MergeFrom(input, extensionRegistry).BuildParsed();
		}

		// Token: 0x0600040B RID: 1035 RVA: 0x00008EFA File Offset: 0x000070FA
		public static AppStartUp ParseDelimitedFrom(Stream input)
		{
			return AppStartUp.CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
		}

		// Token: 0x0600040C RID: 1036 RVA: 0x00008F0C File Offset: 0x0000710C
		public static AppStartUp ParseDelimitedFrom(Stream input, ExtensionRegistry extensionRegistry)
		{
			return AppStartUp.CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
		}

		// Token: 0x0600040D RID: 1037 RVA: 0x00008F1F File Offset: 0x0000711F
		public static AppStartUp ParseFrom(ICodedInputStream input)
		{
			return AppStartUp.CreateBuilder().MergeFrom(input).BuildParsed();
		}

		// Token: 0x0600040E RID: 1038 RVA: 0x00008F31 File Offset: 0x00007131
		public static AppStartUp ParseFrom(ICodedInputStream input, ExtensionRegistry extensionRegistry)
		{
			return AppStartUp.CreateBuilder().MergeFrom(input, extensionRegistry).BuildParsed();
		}

		// Token: 0x0600040F RID: 1039 RVA: 0x00002579 File Offset: 0x00000779
		private AppStartUp MakeReadOnly()
		{
			return this;
		}

		// Token: 0x06000410 RID: 1040 RVA: 0x00008F44 File Offset: 0x00007144
		public static AppStartUp.Builder CreateBuilder()
		{
			return new AppStartUp.Builder();
		}

		// Token: 0x06000411 RID: 1041 RVA: 0x00008F4B File Offset: 0x0000714B
		public override AppStartUp.Builder ToBuilder()
		{
			return AppStartUp.CreateBuilder(this);
		}

		// Token: 0x06000412 RID: 1042 RVA: 0x00008F44 File Offset: 0x00007144
		public override AppStartUp.Builder CreateBuilderForType()
		{
			return new AppStartUp.Builder();
		}

		// Token: 0x06000413 RID: 1043 RVA: 0x00008F53 File Offset: 0x00007153
		public static AppStartUp.Builder CreateBuilder(AppStartUp prototype)
		{
			return new AppStartUp.Builder(prototype);
		}

		// Token: 0x06000414 RID: 1044 RVA: 0x00008F5C File Offset: 0x0000715C
		static AppStartUp()
		{
			FileDescriptor descriptor = GtReq.Descriptor;
		}

		// Token: 0x04000286 RID: 646
		private static readonly AppStartUp defaultInstance = new AppStartUp().MakeReadOnly();

		// Token: 0x04000287 RID: 647
		private static readonly string[] _appStartUpFieldNames = new string[]
		{
			"android",
			"ios",
			"symbia"
		};

		// Token: 0x04000288 RID: 648
		private static readonly uint[] _appStartUpFieldTags = new uint[]
		{
			10u,
			26u,
			18u
		};

		// Token: 0x04000289 RID: 649
		public const int AndroidFieldNumber = 1;

		// Token: 0x0400028A RID: 650
		private bool hasAndroid;

		// Token: 0x0400028B RID: 651
		private string android_ = "";

		// Token: 0x0400028C RID: 652
		public const int SymbiaFieldNumber = 2;

		// Token: 0x0400028D RID: 653
		private bool hasSymbia;

		// Token: 0x0400028E RID: 654
		private string symbia_ = "";

		// Token: 0x0400028F RID: 655
		public const int IosFieldNumber = 3;

		// Token: 0x04000290 RID: 656
		private bool hasIos;

		// Token: 0x04000291 RID: 657
		private string ios_ = "";

		// Token: 0x04000292 RID: 658
		private int memoizedSerializedSize = -1;

		// Token: 0x02000070 RID: 112
		[DebuggerNonUserCode]
		public sealed class Builder : GeneratedBuilder<AppStartUp, AppStartUp.Builder>
		{
			// Token: 0x17000425 RID: 1061
			// (get) Token: 0x06000A80 RID: 2688 RVA: 0x00002579 File Offset: 0x00000779
			protected override AppStartUp.Builder ThisBuilder
			{
				get
				{
					return this;
				}
			}

			// Token: 0x06000A81 RID: 2689 RVA: 0x00018AD2 File Offset: 0x00016CD2
			public Builder()
			{
				this.result = AppStartUp.DefaultInstance;
				this.resultIsReadOnly = true;
			}

			// Token: 0x06000A82 RID: 2690 RVA: 0x00018AEC File Offset: 0x00016CEC
			internal Builder(AppStartUp cloneFrom)
			{
				this.result = cloneFrom;
				this.resultIsReadOnly = true;
			}

			// Token: 0x06000A83 RID: 2691 RVA: 0x00018B04 File Offset: 0x00016D04
			private AppStartUp PrepareBuilder()
			{
				if (this.resultIsReadOnly)
				{
					AppStartUp other = this.result;
					this.result = new AppStartUp();
					this.resultIsReadOnly = false;
					this.MergeFrom(other);
				}
				return this.result;
			}

			// Token: 0x17000426 RID: 1062
			// (get) Token: 0x06000A84 RID: 2692 RVA: 0x00018B40 File Offset: 0x00016D40
			public override bool IsInitialized
			{
				get
				{
					return this.result.IsInitialized;
				}
			}

			// Token: 0x17000427 RID: 1063
			// (get) Token: 0x06000A85 RID: 2693 RVA: 0x00018B4D File Offset: 0x00016D4D
			protected override AppStartUp MessageBeingBuilt
			{
				get
				{
					return this.PrepareBuilder();
				}
			}

			// Token: 0x06000A86 RID: 2694 RVA: 0x00018B55 File Offset: 0x00016D55
			public override AppStartUp.Builder Clear()
			{
				this.result = AppStartUp.DefaultInstance;
				this.resultIsReadOnly = true;
				return this;
			}

			// Token: 0x06000A87 RID: 2695 RVA: 0x00018B6A File Offset: 0x00016D6A
			public override AppStartUp.Builder Clone()
			{
				if (this.resultIsReadOnly)
				{
					return new AppStartUp.Builder(this.result);
				}
				return new AppStartUp.Builder().MergeFrom(this.result);
			}

			// Token: 0x17000428 RID: 1064
			// (get) Token: 0x06000A88 RID: 2696 RVA: 0x00018B90 File Offset: 0x00016D90
			public override MessageDescriptor DescriptorForType
			{
				get
				{
					return AppStartUp.Descriptor;
				}
			}

			// Token: 0x17000429 RID: 1065
			// (get) Token: 0x06000A89 RID: 2697 RVA: 0x00008D3A File Offset: 0x00006F3A
			public override AppStartUp DefaultInstanceForType
			{
				get
				{
					return AppStartUp.DefaultInstance;
				}
			}

			// Token: 0x06000A8A RID: 2698 RVA: 0x00018B97 File Offset: 0x00016D97
			public override AppStartUp BuildPartial()
			{
				if (this.resultIsReadOnly)
				{
					return this.result;
				}
				this.resultIsReadOnly = true;
				return this.result.MakeReadOnly();
			}

			// Token: 0x06000A8B RID: 2699 RVA: 0x00018BBA File Offset: 0x00016DBA
			public override AppStartUp.Builder MergeFrom(IMessage other)
			{
				if (other is AppStartUp)
				{
					return this.MergeFrom((AppStartUp)other);
				}
				base.MergeFrom(other);
				return this;
			}

			// Token: 0x06000A8C RID: 2700 RVA: 0x00018BDC File Offset: 0x00016DDC
			public override AppStartUp.Builder MergeFrom(AppStartUp other)
			{
				if (other == AppStartUp.DefaultInstance)
				{
					return this;
				}
				this.PrepareBuilder();
				if (other.HasAndroid)
				{
					this.Android = other.Android;
				}
				if (other.HasSymbia)
				{
					this.Symbia = other.Symbia;
				}
				if (other.HasIos)
				{
					this.Ios = other.Ios;
				}
				this.MergeUnknownFields(other.UnknownFields);
				return this;
			}

			// Token: 0x06000A8D RID: 2701 RVA: 0x00018C44 File Offset: 0x00016E44
			public override AppStartUp.Builder MergeFrom(ICodedInputStream input)
			{
				return this.MergeFrom(input, ExtensionRegistry.Empty);
			}

			// Token: 0x06000A8E RID: 2702 RVA: 0x00018C54 File Offset: 0x00016E54
			public override AppStartUp.Builder MergeFrom(ICodedInputStream input, ExtensionRegistry extensionRegistry)
			{
				this.PrepareBuilder();
				UnknownFieldSet.Builder builder = null;
				uint num;
				string text;
				while (input.ReadTag(out num, out text))
				{
					if (num == 0u && text != null)
					{
						int num2 = Array.BinarySearch<string>(AppStartUp._appStartUpFieldNames, text, StringComparer.Ordinal);
						if (num2 < 0)
						{
							if (builder == null)
							{
								builder = UnknownFieldSet.CreateBuilder(this.UnknownFields);
							}
							this.ParseUnknownField(input, builder, extensionRegistry, num, text);
							continue;
						}
						num = AppStartUp._appStartUpFieldTags[num2];
					}
					if (num <= 10u)
					{
						if (num == 0u)
						{
							throw InvalidProtocolBufferException.InvalidTag();
						}
						if (num == 10u)
						{
							this.result.hasAndroid = input.ReadString(ref this.result.android_);
							continue;
						}
					}
					else
					{
						if (num == 18u)
						{
							this.result.hasSymbia = input.ReadString(ref this.result.symbia_);
							continue;
						}
						if (num == 26u)
						{
							this.result.hasIos = input.ReadString(ref this.result.ios_);
							continue;
						}
					}
					if (WireFormat.IsEndGroupTag(num))
					{
						if (builder != null)
						{
							this.UnknownFields = builder.Build();
						}
						return this;
					}
					if (builder == null)
					{
						builder = UnknownFieldSet.CreateBuilder(this.UnknownFields);
					}
					this.ParseUnknownField(input, builder, extensionRegistry, num, text);
				}
				if (builder != null)
				{
					this.UnknownFields = builder.Build();
				}
				return this;
			}

			// Token: 0x1700042A RID: 1066
			// (get) Token: 0x06000A8F RID: 2703 RVA: 0x00018D82 File Offset: 0x00016F82
			public bool HasAndroid
			{
				get
				{
					return this.result.hasAndroid;
				}
			}

			// Token: 0x1700042B RID: 1067
			// (get) Token: 0x06000A90 RID: 2704 RVA: 0x00018D8F File Offset: 0x00016F8F
			// (set) Token: 0x06000A91 RID: 2705 RVA: 0x00018D9C File Offset: 0x00016F9C
			public string Android
			{
				get
				{
					return this.result.Android;
				}
				set
				{
					this.SetAndroid(value);
				}
			}

			// Token: 0x06000A92 RID: 2706 RVA: 0x00018DA6 File Offset: 0x00016FA6
			public AppStartUp.Builder SetAndroid(string value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasAndroid = true;
				this.result.android_ = value;
				return this;
			}

			// Token: 0x06000A93 RID: 2707 RVA: 0x00018DD3 File Offset: 0x00016FD3
			public AppStartUp.Builder ClearAndroid()
			{
				this.PrepareBuilder();
				this.result.hasAndroid = false;
				this.result.android_ = "";
				return this;
			}

			// Token: 0x1700042C RID: 1068
			// (get) Token: 0x06000A94 RID: 2708 RVA: 0x00018DF9 File Offset: 0x00016FF9
			public bool HasSymbia
			{
				get
				{
					return this.result.hasSymbia;
				}
			}

			// Token: 0x1700042D RID: 1069
			// (get) Token: 0x06000A95 RID: 2709 RVA: 0x00018E06 File Offset: 0x00017006
			// (set) Token: 0x06000A96 RID: 2710 RVA: 0x00018E13 File Offset: 0x00017013
			public string Symbia
			{
				get
				{
					return this.result.Symbia;
				}
				set
				{
					this.SetSymbia(value);
				}
			}

			// Token: 0x06000A97 RID: 2711 RVA: 0x00018E1D File Offset: 0x0001701D
			public AppStartUp.Builder SetSymbia(string value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasSymbia = true;
				this.result.symbia_ = value;
				return this;
			}

			// Token: 0x06000A98 RID: 2712 RVA: 0x00018E4A File Offset: 0x0001704A
			public AppStartUp.Builder ClearSymbia()
			{
				this.PrepareBuilder();
				this.result.hasSymbia = false;
				this.result.symbia_ = "";
				return this;
			}

			// Token: 0x1700042E RID: 1070
			// (get) Token: 0x06000A99 RID: 2713 RVA: 0x00018E70 File Offset: 0x00017070
			public bool HasIos
			{
				get
				{
					return this.result.hasIos;
				}
			}

			// Token: 0x1700042F RID: 1071
			// (get) Token: 0x06000A9A RID: 2714 RVA: 0x00018E7D File Offset: 0x0001707D
			// (set) Token: 0x06000A9B RID: 2715 RVA: 0x00018E8A File Offset: 0x0001708A
			public string Ios
			{
				get
				{
					return this.result.Ios;
				}
				set
				{
					this.SetIos(value);
				}
			}

			// Token: 0x06000A9C RID: 2716 RVA: 0x00018E94 File Offset: 0x00017094
			public AppStartUp.Builder SetIos(string value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasIos = true;
				this.result.ios_ = value;
				return this;
			}

			// Token: 0x06000A9D RID: 2717 RVA: 0x00018EC1 File Offset: 0x000170C1
			public AppStartUp.Builder ClearIos()
			{
				this.PrepareBuilder();
				this.result.hasIos = false;
				this.result.ios_ = "";
				return this;
			}

			// Token: 0x0400036F RID: 879
			private bool resultIsReadOnly;

			// Token: 0x04000370 RID: 880
			private AppStartUp result;
		}
	}
}
